﻿<?xml version="1.0" ?>
<lz:project xmlns:lz="http://schemas.icitadel.com/Lazarus/Source.xsd"
	name="Lazarus" namespace="OR.Lazarus" owner="dbo" user="jmuharsky" namespaceprefix="lz" namespaceuri="http://schemas.icitadel.com/Lazarus/DBInheritance.xsd" businessconcept="Constraints">
	<lz:description>Test XML for Database Inheritance implementation.</lz:description>
	<lz:datasource location="WARREN" schema="InheritanceTest" user="gkirrel" password="hcccc.be1" />
	<lz:defaults />
	<lz:objects>
		<lz:object name="Sample">
			<lz:fields>
				<lz:field name="PKID" alias="pkid" type="Int">
					<lz:indexes>
						<lz:index type="Primary" />
					</lz:indexes>
				</lz:field>
				<lz:field name="EqualToValue" type="Int">
					<lz:constraints>
						<lz:constraint name="Equal" operation="Equal" value="5" />
					</lz:constraints>
				</lz:field>
				<lz:field name="NotEqualToValue" type="Int">
					<lz:constraints>
						<lz:constraint name="NotEqual" modifier="Not" operation="Equal" value="5" />
					</lz:constraints>
				</lz:field>
				<lz:field name="LessThanValue" type="Int">
					<lz:constraints>
						<lz:constraint name="LessThan" operation="LessThan" max-value="5" />
					</lz:constraints>
				</lz:field>
				<lz:field name="NotLessThanValue" type="Int">
					<lz:constraints>
						<lz:constraint name="NotLessThan" modifier="Not" operation="LessThan" max-value="5" />
					</lz:constraints>
				</lz:field>
				<lz:field name="LessThanOrEqualToValue" type="Int">
					<lz:constraints>
						<lz:constraint name="LessThanOrEqual" operation="LessThanOrEqual" max-value="5" />
					</lz:constraints>
				</lz:field>
				<lz:field name="NotLessThanOrEqualToValue" type="Int">
					<lz:constraints>
						<lz:constraint name="NotLessThanOrEqual" modifier="Not" operation="LessThanOrEqual" max-value="5" />
					</lz:constraints>
				</lz:field>
				<lz:field name="GreaterThanValue" type="Int">
					<lz:constraints>
						<lz:constraint name="GreaterThan" operation="GreaterThan" min-value="0" />
					</lz:constraints>
				</lz:field>
				<lz:field name="NotGreaterThanValue" type="Int">
					<lz:constraints>
						<lz:constraint name="NotGreaterThan" modifier="Not" operation="GreaterThan" min-value="0" />
					</lz:constraints>
				</lz:field>
				<lz:field name="GreaterThanOrEqualToValue" type="Int">
					<lz:constraints>
						<lz:constraint name="GreaterThanOrEqual" operation="GreaterThanOrEqual" min-value="0" />
					</lz:constraints>
				</lz:field>
				<lz:field name="NotGreaterThanOrEqualToValue" type="Int">
					<lz:constraints>
						<lz:constraint name="NotGreaterThanOrEqual" modifier="Not" operation="GreaterThanOrEqual" min-value="0" />
					</lz:constraints>
				</lz:field>
				<lz:field name="ExclusiveBetweenValues" type="Int">
					<lz:constraints>
						<lz:constraint name="ExclusiveBetween" operation="ExclusiveBetween" min-value="1" max-value="5" />
					</lz:constraints>
				</lz:field>
				<lz:field name="NotExclusiveBetweenValues" type="Int">
					<lz:constraints>
						<lz:constraint name="NotExclusiveBetween" modifier="Not" operation="ExclusiveBetween" min-value="1" max-value="5" />
					</lz:constraints>
				</lz:field>
				<lz:field name="InclusiveBetweenValues" type="Int">
					<lz:constraints>
						<lz:constraint name="InclusiveBetween" operation="InclusiveBetween" min-value="1" max-value="5" />
					</lz:constraints>
				</lz:field>
				<lz:field name="NotInclusiveBetweenValues" type="Int">
					<lz:constraints>
						<lz:constraint name="NotInclusiveBetween" modifier="Not" operation="InclusiveBetween" min-value="1" max-value="5" />
					</lz:constraints>
				</lz:field>
				<lz:field name="InValues" type="Int">
					<lz:constraints>
						<lz:constraint name="In" operation="In">
							<lz:constraint-values>
								<lz:constraint-value value="1" />
								<lz:constraint-value value="2" />
								<lz:constraint-value value="5" />
							</lz:constraint-values>
						</lz:constraint>
					</lz:constraints>
				</lz:field>
				<lz:field name="NotInValues" type="Int">
					<lz:constraints>
						<lz:constraint name="NotIn" modifier="Not" operation="In">
							<lz:constraint-values>
								<lz:constraint-value value="3" />
								<lz:constraint-value value="4" />
							</lz:constraint-values>
						</lz:constraint>
					</lz:constraints>
				</lz:field>
				<lz:field name="CompoundLogic" type="Int">
					<!-- Compound expressions currently only support AND logical grouping. -->
					<lz:constraints>
						<lz:constraint name="CompoundRange" operation="InclusiveBetween" min-value="1" max-value="20" />
						<!-- Exclude odd prime numbers greater than 1. -->
						<lz:constraint name="CompoundExclusion" modifier="Not" operation="In">
							<lz:constraint-values>
								<lz:constraint-value value="3" />
								<lz:constraint-value value="5" />
								<lz:constraint-value value="7" />
								<lz:constraint-value value="11" />
								<lz:constraint-value value="13" />
								<lz:constraint-value value="17" />
								<lz:constraint-value value="19" />
							</lz:constraint-values>
						</lz:constraint>
					</lz:constraints>
				</lz:field>
			</lz:fields>			
		</lz:object>
	</lz:objects>
	<lz:intersections>
	</lz:intersections>
	<lz:security>
	</lz:security>
	<lz:businessviews>
	</lz:businessviews>
</lz:project>